var sysMenu = {
	createMenu:function(){
		var win_height=$(window).height();
		//初始化菜单高度
		$('#startmenu').css("height",win_height+"px");
		//定义菜单
		var menuC = $('#navigator');
		menuC.css("height",win_height+"px");
		menuC.css("width",$('#startmenu').width()+"px");
		menuC.accordion({fit:true});
		
		var ul = $("<ul></ul>");
		var li = $("<li></li>");
		var href = $("<a href='#' onclick=\"myDesk.createApp({id:'baiduyixia',title:'百度一下',frameurl:'http://www.baidu.com',barIcon:'images/icon/baidu.png',iconCls:'baidu16x16'});\"><img src=\"images/icon/baidu16x16.png\"/>百度一下</a>");
		li.append(href);
		ul.append(li);
		li = $("<li></li>");
		var href = $("<a href='#' onclick=\"myDesk.createApp({id:'sina',title:'新浪新闻',frameurl:'http://news.sina.com.cn/',barIcon:'images/icon/sina.png',iconCls:'sina16x16'});\"><img src=\"images/icon/sina16x16.png\"/>新浪新闻</a>");
		li.append(href);
		ul.append(li);
		($('#tmpNav').append(ul));
		menuC.accordion('add',{
			title:'系统管理',
			iconCls: 'qianqian16x16',
			content: $('#tmpNav').html(),
			selected: true
		});
//		temp.children().find("li").css("background-color",temp.children().find("div").css("background-color"));
		menuC.accordion('add',{
			title:'业务管理',
			iconCls: 'doubandt16x16',
			content: '<ul><li><img src="images/icon/baidu16x16.png"/><a>业务1</a></li><li>业务2</li></ul>',
			selected: false
		});
		//点击链接后变比菜单
		menuC.children().find("li").bind('click',function(){myDesk.menuShowOrHide(true);});
		//将开始菜单隐藏
		myDesk.menuShowOrHide(true);
	}
}